package com.neusoft.service;

import com.neusoft.po.Comment;

import java.util.List;

public interface CommentService {

    Boolean createComment(String userId, Integer businessId, String comment, Integer rank);

    List<Comment> getCommentByBusinessId(Integer businessId);

    List<Comment> getCommentByUserId(String userId);

    Boolean updateComment(Integer commentId, String comment, Integer rank);
}
